Integrand size = 21, antiderivative size = 213 \[ \int \frac {\sqrt {a+\frac {b}{x}}}{\left (c+\frac {d}{x}\right )^3} \, dx=\frac {3 d \sqrt {a+\frac {b}{x}}}{2 c^2 \left (c+\frac {d}{x}\right )^2}+\frac {d (11 b c-12 a d) \sqrt {a+\frac {b}{x}}}{4 c^3 (b c-a d) \left (c+\frac {d}{x}\right )}+\frac {\sqrt {a+\frac {b}{x}} x}{c \left (c+\frac {d}{x}\right )^2}+\frac {\sqrt {d} \left (15 b^2 c^2-40 a b c d+24 a^2 d^2\right ) \arctan \left (\frac {\sqrt {d} \sqrt {a+\frac {b}{x}}}{\sqrt {b c-a d}}\right )}{4 c^4 (b c-a d)^{3/2}}+\frac {(b c-6 a d) \text {arctanh}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right )}{\sqrt {a} c^4} \]
[Out]
Time = 0.26 (sec) , antiderivative size = 213, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {382, 101, 156, 162, 65, 214, 211} \[ \int \frac {\sqrt {a+\frac {b}{x}}}{\left (c+\frac {d}{x}\right )^3} \, dx=\frac {\sqrt {d} \left (24 a^2 d^2-40 a b c d+15 b^2 c^2\right ) \arctan \left (\frac {\sqrt {d} \sqrt {a+\frac {b}{x}}}{\sqrt {b c-a d}}\right )}{4 c^4 (b c-a d)^{3/2}}+\frac {\text {arctanh}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right ) (b c-6 a d)}{\sqrt {a} c^4}+\frac {d \sqrt {a+\frac {b}{x}} (11 b c-12 a d)}{4 c^3 \left (c+\frac {d}{x}\right ) (b c-a d)}+\frac {3 d \sqrt {a+\frac {b}{x}}}{2 c^2 \left (c+\frac {d}{x}\right )^2}+\frac {x \sqrt {a+\frac {b}{x}}}{c \left (c+\frac {d}{x}\right )^2} \]
[In]
[Out]
Rule 65
Rule 101
Rule 156
Rule 162
Rule 211
Rule 214
Rule 382
Rubi steps \begin{align*} \text {integral}& = -\text {Subst}\left (\int \frac {\sqrt {a+b x}}{x^2 (c+d x)^3} \, dx,x,\frac {1}{x}\right ) \\ & = \frac {\sqrt {a+\frac {b}{x}} x}{c \left (c+\frac {d}{x}\right )^2}-\frac {\text {Subst}\left (\int \frac {\frac {1}{2} (b c-6 a d)-\frac {5 b d x}{2}}{x \sqrt {a+b x} (c+d x)^3} \, dx,x,\frac {1}{x}\right )}{c} \\ & = \frac {3 d \sqrt {a+\frac {b}{x}}}{2 c^2 \left (c+\frac {d}{x}\right )^2}+\frac {\sqrt {a+\frac {b}{x}} x}{c \left (c+\frac {d}{x}\right )^2}+\frac {\text {Subst}\left (\int \frac {-((b c-6 a d) (b c-a d))+\frac {9}{2} b d (b c-a d) x}{x \sqrt {a+b x} (c+d x)^2} \, dx,x,\frac {1}{x}\right )}{2 c^2 (b c-a d)} \\ & = \frac {3 d \sqrt {a+\frac {b}{x}}}{2 c^2 \left (c+\frac {d}{x}\right )^2}+\frac {d (11 b c-12 a d) \sqrt {a+\frac {b}{x}}}{4 c^3 (b c-a d) \left (c+\frac {d}{x}\right )}+\frac {\sqrt {a+\frac {b}{x}} x}{c \left (c+\frac {d}{x}\right )^2}-\frac {\text {Subst}\left (\int \frac {(b c-6 a d) (b c-a d)^2-\frac {1}{4} b d (11 b c-12 a d) (b c-a d) x}{x \sqrt {a+b x} (c+d x)} \, dx,x,\frac {1}{x}\right )}{2 c^3 (b c-a d)^2} \\ & = \frac {3 d \sqrt {a+\frac {b}{x}}}{2 c^2 \left (c+\frac {d}{x}\right )^2}+\frac {d (11 b c-12 a d) \sqrt {a+\frac {b}{x}}}{4 c^3 (b c-a d) \left (c+\frac {d}{x}\right )}+\frac {\sqrt {a+\frac {b}{x}} x}{c \left (c+\frac {d}{x}\right )^2}-\frac {(b c-6 a d) \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,\frac {1}{x}\right )}{2 c^4}+\frac {\left (d \left (15 b^2 c^2-40 a b c d+24 a^2 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a+b x} (c+d x)} \, dx,x,\frac {1}{x}\right )}{8 c^4 (b c-a d)} \\ & = \frac {3 d \sqrt {a+\frac {b}{x}}}{2 c^2 \left (c+\frac {d}{x}\right )^2}+\frac {d (11 b c-12 a d) \sqrt {a+\frac {b}{x}}}{4 c^3 (b c-a d) \left (c+\frac {d}{x}\right )}+\frac {\sqrt {a+\frac {b}{x}} x}{c \left (c+\frac {d}{x}\right )^2}-\frac {(b c-6 a d) \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+\frac {b}{x}}\right )}{b c^4}+\frac {\left (d \left (15 b^2 c^2-40 a b c d+24 a^2 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{c-\frac {a d}{b}+\frac {d x^2}{b}} \, dx,x,\sqrt {a+\frac {b}{x}}\right )}{4 b c^4 (b c-a d)} \\ & = \frac {3 d \sqrt {a+\frac {b}{x}}}{2 c^2 \left (c+\frac {d}{x}\right )^2}+\frac {d (11 b c-12 a d) \sqrt {a+\frac {b}{x}}}{4 c^3 (b c-a d) \left (c+\frac {d}{x}\right )}+\frac {\sqrt {a+\frac {b}{x}} x}{c \left (c+\frac {d}{x}\right )^2}+\frac {\sqrt {d} \left (15 b^2 c^2-40 a b c d+24 a^2 d^2\right ) \tan ^{-1}\left (\frac {\sqrt {d} \sqrt {a+\frac {b}{x}}}{\sqrt {b c-a d}}\right )}{4 c^4 (b c-a d)^{3/2}}+\frac {(b c-6 a d) \tanh ^{-1}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right )}{\sqrt {a} c^4} \\ \end{align*}
Time = 1.43 (sec) , antiderivative size = 189, normalized size of antiderivative = 0.89 \[ \int \frac {\sqrt {a+\frac {b}{x}}}{\left (c+\frac {d}{x}\right )^3} \, dx=\frac {\frac {c \sqrt {a+\frac {b}{x}} x \left (-2 a d \left (6 d^2+9 c d x+2 c^2 x^2\right )+b c \left (11 d^2+17 c d x+4 c^2 x^2\right )\right )}{(b c-a d) (d+c x)^2}+\frac {\sqrt {d} \left (15 b^2 c^2-40 a b c d+24 a^2 d^2\right ) \arctan \left (\frac {\sqrt {d} \sqrt {a+\frac {b}{x}}}{\sqrt {b c-a d}}\right )}{(b c-a d)^{3/2}}+\frac {4 (b c-6 a d) \text {arctanh}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right )}{\sqrt {a}}}{4 c^4} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(968\) vs. \(2(185)=370\).
Time = 0.26 (sec) , antiderivative size = 969, normalized size of antiderivative = 4.55
method | result | size |
risch | \(\frac {x \sqrt {\frac {a x +b}{x}}}{c^{3}}-\frac {\left (\frac {\left (6 a d -b c \right ) \ln \left (\frac {\frac {b}{2}+a x}{\sqrt {a}}+\sqrt {a \,x^{2}+b x}\right )}{c \sqrt {a}}+\frac {2 d^{2} \left (4 a d -3 b c \right ) \left (-\frac {c^{2} \sqrt {a \left (x +\frac {d}{c}\right )^{2}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+\frac {\left (a d -b c \right ) d}{c^{2}}}}{\left (a d -b c \right ) d \left (x +\frac {d}{c}\right )}-\frac {\left (2 a d -b c \right ) c \ln \left (\frac {\frac {2 \left (a d -b c \right ) d}{c^{2}}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+2 \sqrt {\frac {\left (a d -b c \right ) d}{c^{2}}}\, \sqrt {a \left (x +\frac {d}{c}\right )^{2}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+\frac {\left (a d -b c \right ) d}{c^{2}}}}{x +\frac {d}{c}}\right )}{2 \left (a d -b c \right ) d \sqrt {\frac {\left (a d -b c \right ) d}{c^{2}}}}\right )}{c^{3}}-\frac {2 d^{3} \left (a d -b c \right ) \left (-\frac {c^{2} \sqrt {a \left (x +\frac {d}{c}\right )^{2}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+\frac {\left (a d -b c \right ) d}{c^{2}}}}{2 \left (a d -b c \right ) d \left (x +\frac {d}{c}\right )^{2}}+\frac {3 \left (2 a d -b c \right ) c \left (-\frac {c^{2} \sqrt {a \left (x +\frac {d}{c}\right )^{2}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+\frac {\left (a d -b c \right ) d}{c^{2}}}}{\left (a d -b c \right ) d \left (x +\frac {d}{c}\right )}-\frac {\left (2 a d -b c \right ) c \ln \left (\frac {\frac {2 \left (a d -b c \right ) d}{c^{2}}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+2 \sqrt {\frac {\left (a d -b c \right ) d}{c^{2}}}\, \sqrt {a \left (x +\frac {d}{c}\right )^{2}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+\frac {\left (a d -b c \right ) d}{c^{2}}}}{x +\frac {d}{c}}\right )}{2 \left (a d -b c \right ) d \sqrt {\frac {\left (a d -b c \right ) d}{c^{2}}}}\right )}{4 \left (a d -b c \right ) d}+\frac {a \,c^{2} \ln \left (\frac {\frac {2 \left (a d -b c \right ) d}{c^{2}}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+2 \sqrt {\frac {\left (a d -b c \right ) d}{c^{2}}}\, \sqrt {a \left (x +\frac {d}{c}\right )^{2}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+\frac {\left (a d -b c \right ) d}{c^{2}}}}{x +\frac {d}{c}}\right )}{2 \left (a d -b c \right ) d \sqrt {\frac {\left (a d -b c \right ) d}{c^{2}}}}\right )}{c^{4}}+\frac {6 d \left (2 a d -b c \right ) \ln \left (\frac {\frac {2 \left (a d -b c \right ) d}{c^{2}}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+2 \sqrt {\frac {\left (a d -b c \right ) d}{c^{2}}}\, \sqrt {a \left (x +\frac {d}{c}\right )^{2}-\frac {\left (2 a d -b c \right ) \left (x +\frac {d}{c}\right )}{c}+\frac {\left (a d -b c \right ) d}{c^{2}}}}{x +\frac {d}{c}}\right )}{c^{2} \sqrt {\frac {\left (a d -b c \right ) d}{c^{2}}}}\right ) \sqrt {\frac {a x +b}{x}}\, \sqrt {x \left (a x +b \right )}}{2 c^{3} \left (a x +b \right )}\) | \(969\) |
default | \(\text {Expression too large to display}\) | \(1972\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 428 vs. \(2 (185) = 370\).
Time = 0.41 (sec) , antiderivative size = 1749, normalized size of antiderivative = 8.21 \[ \int \frac {\sqrt {a+\frac {b}{x}}}{\left (c+\frac {d}{x}\right )^3} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {\sqrt {a+\frac {b}{x}}}{\left (c+\frac {d}{x}\right )^3} \, dx=\int \frac {x^{3} \sqrt {a + \frac {b}{x}}}{\left (c x + d\right )^{3}}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {a+\frac {b}{x}}}{\left (c+\frac {d}{x}\right )^3} \, dx=\int { \frac {\sqrt {a + \frac {b}{x}}}{{\left (c + \frac {d}{x}\right )}^{3}} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 809 vs. \(2 (185) = 370\).
Time = 0.34 (sec) , antiderivative size = 809, normalized size of antiderivative = 3.80 \[ \int \frac {\sqrt {a+\frac {b}{x}}}{\left (c+\frac {d}{x}\right )^3} \, dx=-\frac {{\left (15 \, \sqrt {a} b^{2} c^{2} d \arctan \left (\frac {\sqrt {a} d}{\sqrt {b c d - a d^{2}}}\right ) - 40 \, a^{\frac {3}{2}} b c d^{2} \arctan \left (\frac {\sqrt {a} d}{\sqrt {b c d - a d^{2}}}\right ) + 24 \, a^{\frac {5}{2}} d^{3} \arctan \left (\frac {\sqrt {a} d}{\sqrt {b c d - a d^{2}}}\right ) - 2 \, \sqrt {b c d - a d^{2}} b^{2} c^{2} \log \left ({\left | b \right |}\right ) + 14 \, \sqrt {b c d - a d^{2}} a b c d \log \left ({\left | b \right |}\right ) - 12 \, \sqrt {b c d - a d^{2}} a^{2} d^{2} \log \left ({\left | b \right |}\right ) + 9 \, \sqrt {b c d - a d^{2}} a b c d - 10 \, \sqrt {b c d - a d^{2}} a^{2} d^{2}\right )} \mathrm {sgn}\left (x\right )}{4 \, {\left (\sqrt {b c d - a d^{2}} \sqrt {a} b c^{5} - \sqrt {b c d - a d^{2}} a^{\frac {3}{2}} c^{4} d\right )}} - \frac {{\left (15 \, b^{2} c^{2} d \mathrm {sgn}\left (x\right ) - 40 \, a b c d^{2} \mathrm {sgn}\left (x\right ) + 24 \, a^{2} d^{3} \mathrm {sgn}\left (x\right )\right )} \arctan \left (-\frac {{\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )} c + \sqrt {a} d}{\sqrt {b c d - a d^{2}}}\right )}{4 \, {\left (b c^{5} - a c^{4} d\right )} \sqrt {b c d - a d^{2}}} + \frac {\sqrt {a x^{2} + b x} \mathrm {sgn}\left (x\right )}{c^{3}} - \frac {9 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )}^{3} b^{2} c^{3} d \mathrm {sgn}\left (x\right ) - 32 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )}^{3} a b c^{2} d^{2} \mathrm {sgn}\left (x\right ) + 24 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )}^{3} a^{2} c d^{3} \mathrm {sgn}\left (x\right ) + 3 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )}^{2} \sqrt {a} b^{2} c^{2} d^{2} \mathrm {sgn}\left (x\right ) - 40 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )}^{2} a^{\frac {3}{2}} b c d^{3} \mathrm {sgn}\left (x\right ) + 40 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )}^{2} a^{\frac {5}{2}} d^{4} \mathrm {sgn}\left (x\right ) + 7 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )} b^{3} c^{2} d^{2} \mathrm {sgn}\left (x\right ) - 44 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )} a b^{2} c d^{3} \mathrm {sgn}\left (x\right ) + 40 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )} a^{2} b d^{4} \mathrm {sgn}\left (x\right ) - 9 \, \sqrt {a} b^{3} c d^{3} \mathrm {sgn}\left (x\right ) + 10 \, a^{\frac {3}{2}} b^{2} d^{4} \mathrm {sgn}\left (x\right )}{4 \, {\left (b c^{5} - a c^{4} d\right )} {\left ({\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )}^{2} c + 2 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )} \sqrt {a} d + b d\right )}^{2}} - \frac {{\left (b c \mathrm {sgn}\left (x\right ) - 6 \, a d \mathrm {sgn}\left (x\right )\right )} \log \left ({\left | 2 \, {\left (\sqrt {a} x - \sqrt {a x^{2} + b x}\right )} \sqrt {a} + b \right |}\right )}{2 \, \sqrt {a} c^{4}} \]
[In]
[Out]
Time = 7.94 (sec) , antiderivative size = 1895, normalized size of antiderivative = 8.90 \[ \int \frac {\sqrt {a+\frac {b}{x}}}{\left (c+\frac {d}{x}\right )^3} \, dx=\text {Too large to display} \]
[In]
[Out]